using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 项目计划
    /// 版 本：V2.6.200612
    /// 版 权：引迈信息技术有限公司（https://www.yinmaisoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-11-16 
    /// </summary>
    [Table("EXT_PROJECTGANTT")]
    public class ProjectGanttEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 项目上级
        /// </summary>
        [Column("F_PARENTID")]
        public string ParentId { get; set; }
        /// <summary>
        /// 项目主键
        /// </summary>
        [Column("F_PROJECTID")]
        public string ProjectId { get; set; }
        /// <summary>
        /// 项目类型：【1-项目、2-任务】
        /// </summary>
        [Column("F_TYPE")]
        public int? Type { get; set; }
        /// <summary>
        /// 项目编码
        /// </summary>
        [Column("F_ENCODE")]
        public string EnCode { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        [Column("F_FULLNAME")]
        public string FullName { get; set; }
        /// <summary>
        /// 项目工期
        /// </summary>
        [Column("F_TIMELIMIT")]
        public decimal? TimeLimit { get; set; }
        /// <summary>
        /// 项目标记
        /// </summary>
        [Column("F_SIGN")]
        public string Sign { get; set; }
        /// <summary>
        /// 标记颜色
        /// </summary>
        [Column("F_SIGNCOLOR")]
        public string SignColor { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        [Column("F_STARTTIME")]
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        [Column("F_ENDTIME")]
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 当前进度
        /// </summary>
        [Column("F_SCHEDULE")]
        public int? Schedule { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        [Column("F_MANAGERIDS")]
        public string ManagerIds { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        [Column("F_SORTCODE")]
        public long? SortCode { get; set; }
        /// <summary>
        /// 有效标志
        /// </summary>
        [Column("F_ENABLEDMARK")]
        public int? EnabledMark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("F_CREATORTIME")]
        public DateTime? CreatorTime { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        [Column("F_CREATORUSERID")]
        public string CreatorUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        [Column("F_LASTMODIFYTIME")]
        public DateTime? LastModifyTime { get; set; }
        /// <summary>
        /// 修改用户
        /// </summary>
        [Column("F_LASTMODIFYUSERID")]
        public string LastModifyUserId { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        [Column("F_DELETEMARK")]
        public int? DeleteMark { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("F_DELETETIME")]
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 删除用户
        /// </summary>
        [Column("F_DELETEUSERID")]
        public string DeleteUserId { get; set; }
        /// <summary>
        /// 项目状态
        /// </summary>
        [Column("F_STATE")]
        public int? State { get; set; }
    }
}
